namespace ShadeTree.Binding.Validation
{
    public interface IValidator
    {
        Notification Validate(object target);
        NotificationMessage[] ValidateByField(object target, string propertyName);
        void Validate(object target, Notification notification);
    }
}